package com.house.utils;

public enum ErrCode {
    // 返回成功
    RESP_SUCCESS(0,"success"),
    // 服务异常
    RESP_SERVICE_ERROR(999,"service_error");

    private final int code;
    private String Message;

    ErrCode(int code, String message) {
        this.code = code;
        Message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return Message;
    }
}
